package com.example.bysj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author chuanyuzhou
 * @since 2022-05-09
 */
@Getter
@Setter
  @TableName("event")
@ApiModel(value = "Event对象", description = "")
public class Event implements Serializable {

    private static final long serialVersionUID = 1L;



  @ApiModelProperty("id")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("事件名")
  private String name;

  @ApiModelProperty("类型")
  private String eventType;

  @ApiModelProperty("等级")
  private Integer level;

  @ApiModelProperty("措施")
  private String how;

  @ApiModelProperty("发生时间")
  private LocalDateTime time;

  @ApiModelProperty("发生地点")
  private String place;
}
